#ifndef UI_HPP
#define UI_HPP

#include "../Common/Card.h"
#include "../Common/Hand.h"
#include "GameScore.h"

void ui_initialize();

void ui_shuffling(Card card, unsigned char percent);
void ui_shuffling_update(Card card, unsigned char percent);
unsigned int ui_get_bet(unsigned int maximum);

/**
 * Asks the player whether he would like to hit or stand
 * @return 1: hit, 0: stand
 */
unsigned char ui_hit_or_stand(Hand *player, Hand *dealer);
void ui_round_result(Hand *player, Hand *dealer, unsigned char result);
void ui_game_over();

/**
 * Displays the GameScore and asks the player if he wants
 * to go on playing or reset the game.
 * @return 1: keep playing, 0: reset
 */
unsigned char ui_scores(GameScore score);

#endif
